Parking Puzzle Solution